// 内容管理
import request from '@/utils/request'

/**
 * @desc 更新
 * contentId: 1-Banner, 2-潮流服饰, 3-电竞周边, 4-关于我们, 5-联系我们
 */
export function contentUpdate(data = {}) {
    return request({
        method: 'post',
        url: '/content/contentUpdate',
        data
    });
}

/**
 * @desc 单个查询
 * contentId: 1-Banner, 2-潮流服饰, 3-电竞周边, 4-关于我们, 5-联系我们
 */
export function contentById(data = {}) {
    return request({
        method: 'post',
        url: '/content/contentById',
        data
    });
}

/**
 * @desc 查询列表
 * contentId: 1-Banner, 2-潮流服饰, 3-电竞周边, 4-关于我们, 5-联系我们
 */
export function contentSearch(data = {}) {
    return request({
        method: 'post',
        url: '/content/contentSearch',
        data
    });
}
